package routers

import (
	"giv-vue-blog/api"
	"giv-vue-blog/middleware"
)

func (router RouterGroup) LogRouter() {
	logApi := api.ApiGroupApp.LogApi
	router.GET("log_list", middleware.JwtAuth(), logApi.LogListView)
	router.DELETE("log_del", middleware.JwtAdmin(), logApi.LogDelView)
}
